/*
 * 可通过 $page.state.xxx 访问这里定义的状态
 * 注意：页面级别的状态仅在所属的页面有效
 * 修改状态时，直接赋值即可。如：$page.state.xxx = 'xxx'
 * 请注意：避免在页面处于后台状态时state，页面在后台时对全局state的修改会丢失！
 */

export default {
  name: "WeApps",
  idNumber:'',   //身份证号
  type:'',
  userId:'',
  certTypeList: [
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅治安管理局",
    //   title: "居住证",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/juzhuzheng_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/juzhuzheng_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅交通管理局",
    //   title: "驾驶证",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/jiashizheng_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/jiashizheng_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
    {
      cardNo: "6******************8",
      type: 1,
      dept: "广西壮族自治区公安厅治安管理局",
      title: "居民身份证电子凭证",
      icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/shenfenzheng_icon@2x.png",
      bg: {
        backgroundImage:
          "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/shenfenzheng_bg@2x.png')",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%",
      },
    },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅交通管理局",
    //   title: "行驶证",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/xingshizheng_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/xingshizheng_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅出入境管理局",
    //   title: "护照",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/huzhao_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/huzhao_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅治安管理局",
    //   title: "居民户口簿",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/hukoubu_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/hukoubu_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
  ],
  cardTypeList: [
    {
      cardNo: "6******************8",
      type: 2,
      dept: "人力资源和社会保障部",
      title: "社会保障卡",
      icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/shebaoka_icon@2x.png",
      bg: {
        backgroundImage:
          "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/shebaoka_bg@2x.png')",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%",
      },
    },
    {
      cardNo: "6******************8",
      type: 4,
      dept: "广西壮族自治区医疗保险局",
      title: "医保电子凭证",
      icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/yibao_icon@2x.png",
      bg: {
        backgroundImage:
          "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/yibao_bg@2x.png')",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%",
      },
    },
    {
      cardNo: "6******************8",
      type: 5,
      dept: "广西壮族自治区住房公积金管理中心",
      title: "住房公积金",
      icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/gongjijin_icon@2x.png",
      bg: {
        backgroundImage:
          "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/gongjijin_bg@2x.png')",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%",
      },
    },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅出入境管理局",
    //   title: "台湾通行证",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/taiwanpass_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/taiwanpass_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区公安厅出入境管理局",
    //   title: "港澳通行证",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/gangaopass_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/gangaopass_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
    // {
    //   cardNo: "6******************8",
    //   type: "",
    //   dept: "广西壮族自治区民政厅",
    //   title: "结婚证",
    //   icon: "https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/jiehunzheng_icon@2x.png",
    //   bg: {
    //     backgroundImage:
    //       "url('https://weapps-prod-1301730524.cos.ap-guangzhou.myqcloud.com/res/8H7jmbp0f/my/cards/jiehunzheng_bg@2x.png')",
    //     backgroundRepeat: "no-repeat",
    //     backgroundSize: "100% 100%",
    //   },
    // },
  ],
};

/* 在这里定义页面变量。
 *  页面变量区别于 state 的是：页面变量不会作响应处理，不可被绑定
 *  在 handler 中使用的例子：import { data } from '../state'
 *
 */
export const data = {};
